UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The SSH private host key files must have mode 0600 or less permissive.


Overview

Finding ID Version Rule ID IA Controls Severity
V-22472 GEN005523 SV-63863r1_rule ECLP-1 Medium
Description
If an unauthorized user obtains the private SSH host key file, the host could be impersonated.
STIG Date
Oracle Linux 5 Security Technical Implementation Guide 2015-03-26

Details

Check Text ( C-52401r2_chk )
Check the permissions for SSH private host key files.

# ls -lL /etc/ssh/*key

If any file has a mode more permissive than 0600, this is a finding.
Fix Text (F-54437r3_fix)
Change the permissions for the SSH private host key files.

# chmod 0600 /etc/ssh/*key